<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>学生选课系统</title>

  </head>
  
  <body bgcolor="#D9DFAA"> 
    <table width="400">
         <s:set value="#request.xs" name="xs"/>
         <tr><td>学号：</td><td><s:property value="#xs.xh"/></td></tr>
         <tr><td>姓名：</td><td><s:property value="#xs.xm"/></td></tr>
         <tr>
             <td>性别：</td>
          <td>
             <s:if test="#xs.xb==1">男</s:if>
             <s:else>女</s:else>
         </td></tr>
         <tr><td>专业：</td><td><s:property value="#xs.zyb.zym"/></td></tr>
         <tr><td>出生时间：</td><td><s:date name="#xs.cssj" format="yyyy-MM-dd"/></td>
         </tr>
    </table>
  </body>
</html>
